#include "phy.h"



mii_dev *mdio_alloc(void)
{
    mii_dev *bus = qe_malloc(sizeof(*bus));
    if (!bus)
        return QE_NULL;
    qe_memset(bus, 0, sizeof(*bus));
    return bus;
}